Remove old comments from d/rules
authorStuart Prescott <stuart@debian.org>
Sat, 13 Jan 2024 13:24:45 +0000 (00:24 +1100)
committerStuart Prescott <stuart@debian.org>
Sat, 13 Jan 2024 13:24:45 +0000 (00:24 +1100)
debian/rules

index ce79aacc0c6acf4673a865ef4377301815d8ddb7..9bcd380f0d462b4e70ed33d747c418365c5c3bf3 100755 (executable)
@@ -15,11 +15,9 @@ endif
 #     OPTION_JOBS = --parallel=$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 # endif
 
-# don't set PYBUILD_NAME
-# export PYBUILD_NAME = pyside6
+# don't set PYBUILD_NAME because we want the installed files to land in
+# debian/tmp and then get split up into the feature packages.
 export PYBUILD_SYSTEM = cmake
-export PYBUILD_DESTDIR = debian/tmp
-export DESTDIR = debian/tmp
 export PYBUILD_BUILD_ARGS = -j1
 
 export MAIN_VERSION_UPSTREAM := $(shell echo $(DEB_VERSION_UPSTREAM))
@@ -30,7 +28,6 @@ CXXFLAGS+=$(CPPFLAGS)
 # Work around buildd bug (https://bugs.debian.org/842565)
 undefine XDG_RUNTIME_DIR
 
-# _BUILDDIR = $(shell PYBUILD_NAME=$(PYBUILD_NAME) pybuild -p `py3versions -dv` --print {build_dir})
 _BUILDDIR = $(shell pybuild -p `py3versions -dv` --print {build_dir})
 export PYTHONPATH = $(_BUILDDIR)/sources